use glium::{ Frame, Display };

mod app;

pub use app::App;

pub trait AppListener : Sized {
    fn new(dpy: &Display) -> Self;
    fn resize(&mut self, x: f32, y: f32);
    fn update(&self, app: &App<Self>, gl: &mut Frame);
}